package info.techgeek.labs.process;

import java.io.IOException;

public class ThreadPoolExample {

	public static void main(String[] args) {

		java.lang.Process process;
		try {
			
			process = Runtime.getRuntime().exec("mkdir D:/SAMPLE_PROJECTS/MakeDir");
			int returnCode = process.waitFor();
			
			System.out.println("Return Code "+returnCode);
		} catch (IOException e) {
			e.printStackTrace();
		} catch (InterruptedException e) {
			e.printStackTrace();
		} 
	}
}
